<?php
/**
 * Created by JetBrains PhpStorm.
 * User: thinhhung
 * Date: 6/25/12
 * Time: 1:46 PM
 * To change this template use File | Settings | File Templates.
 */

?>
<?php
/**
 * Created by JetBrains PhpStorm.
 * User: thinhhung
 * Date: 5/24/12
 * Time: 3:11 PM
 * To change this template use File | Settings | File Templates.
 */
?>
<h1 align="center">SẢN PHẨM TRONG KHO</h1>
<?php
//echo $this->Html->link('Thêm khách hàng', array('controller' => 'khach_hangs', 'action' => 'add'), array('class' => 'lk'));
echo "<br /><br />";
?>
<table>
    <tr>
        <th><?php echo $this->Paginator->sort('MASP', 'MÃ SẢN PHẨM'); ?></th>
        <th><?php echo $this->Paginator->sort('SOLUONG', 'SỐ LƯỢNG'); ?></th>
    </tr>

    <?php foreach ($khos as $kho): ?>
    <tr>
        <td><?php echo $kho['Kho']['MASP']; ?></td>
        <td><?php echo $kho['Kho']['SOLUONG']; ?></td>
    </tr>
    <?php endforeach; ?>
</table>

<div id="pagination">
    <div class="paging">
        <?php echo $this->Paginator->first('Trang đầu'); ?>
        <?php echo $this->Paginator->prev('<<' . __('Lùi', true),
        array(), null, array('class' => 'disabled')); ?>
        <?php echo $this->Paginator->numbers(); ?>
        <?php echo $this->Paginator->next(__('Tới', true) . '>>',
        array(), null, array('class' => 'disabled')); ?>
        <?php echo $this->Paginator->last('Trang cuối'); ?>
    </div>
</div>
<br/><br/>
<?php
//echo $this->Html->link('Thêm khách hàng', array('controller' => 'khach_hangs', 'action' => 'add'), array('class' => 'lk'));
?>

<div id="Ltrangchu" align="center">
    <?php
    echo $this->Html->link('TRANG CHỦ', array('controller' => ''));
    ?>
</div>
